﻿// =================================================================== 
// 项目说明,功能实体类,用CodeSmith自动生成。
// =================================================================== 
// 文件名: HirePurchaseEntity.cs
// 修改时间：2020-9-8 10:40:03
// 修改人: lixiong
// =================================================================== 
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using JX.Infrastructure.Attribute;
using JX.Infrastructure.Common;

namespace JX.Core.Entity
{
	/// <summary>
	/// 数据库表：HirePurchase 的实体类.
	/// </summary>
	[Table("HirePurchase")]
	public partial class HirePurchaseEntity
	{
		#region Properties
		private int? _id = 0;
		/// <summary>
		/// (主键)(自增长)
		/// </summary>
		[Column("ID",TypeName="int")]
		[Key]
		[MyFlag("Identity")]
		public int? ID
		{
			get {return _id;}
			set {_id = value;}
		}
		
		private int? _nodeID = 0;
		/// <summary>
		/// 商品类别ID
		/// </summary>
		[Column("NodeID",TypeName="int")]
		public int? NodeID
		{
			get {return _nodeID;}
			set {_nodeID = value;}
		}
		
		private int? _productID = 0;
		/// <summary>
		/// 商品ID
		/// </summary>
		[Column("ProductID",TypeName="int")]
		public int? ProductID
		{
			get {return _productID;}
			set {_productID = value;}
		}
		
		private decimal? _downPayment = 0;
		/// <summary>
		/// 最低首付比例（%）
		/// </summary>
		[Column("DownPayment",TypeName="money")]
		public decimal? DownPayment
		{
			get {return _downPayment;}
			set {_downPayment = value;}
		}
		
		private decimal? _downPaymentMax = 0;
		/// <summary>
		/// 最高首付比例（%）
		/// </summary>
		[Column("DownPaymentMax",TypeName="money")]
		public decimal? DownPaymentMax
		{
			get {return _downPaymentMax;}
			set {_downPaymentMax = value;}
		}
		
		private decimal? _yearRate = 0;
		/// <summary>
		/// 年利率（%）
		/// </summary>
		[Column("YearRate",TypeName="money")]
		public decimal? YearRate
		{
			get {return _yearRate;}
			set {_yearRate = value;}
		}
		
		private decimal? _fee = 0;
		/// <summary>
		/// 手续费（%）
		/// </summary>
		[Column("Fee",TypeName="money")]
		public decimal? Fee
		{
			get {return _fee;}
			set {_fee = value;}
		}
		
		private decimal? _merchantRebate = 0;
		/// <summary>
		/// 给商户返点（%）
		/// </summary>
		[Column("MerchantRebate",TypeName="money")]
		public decimal? MerchantRebate
		{
			get {return _merchantRebate;}
			set {_merchantRebate = value;}
		}
		
		private int? _deadline = 0;
		/// <summary>
		/// 期限
		/// </summary>
		[Column("Deadline",TypeName="int")]
		public int? Deadline
		{
			get {return _deadline;}
			set {_deadline = value;}
		}
		
		private decimal? _minLoanMoney = 0;
		/// <summary>
		/// 最小贷款金额
		/// </summary>
		[Column("MinLoanMoney",TypeName="money")]
		public decimal? MinLoanMoney
		{
			get {return _minLoanMoney;}
			set {_minLoanMoney = value;}
		}
		
		private decimal? _maxLoanMoney = 0;
		/// <summary>
		/// 最高贷款金额
		/// </summary>
		[Column("MaxLoanMoney",TypeName="money")]
		public decimal? MaxLoanMoney
		{
			get {return _maxLoanMoney;}
			set {_maxLoanMoney = value;}
		}
		
		#endregion
	}
}
